package com.cloud.system.api.entity;

import java.util.Date;
import javax.persistence.*;

@Table(name = "notice_info")
public class NoticeInfo {
    @Id
    @Column(name = "notice_id")
    private Long noticeId;

    @Column(name = "notice_type")
    private Byte noticeType;

    @Column(name = "push_time")
    private Date pushTime;

    @Column(name = "notice_voice_type")
    private Byte noticeVoiceType;

    @Column(name = "receiver_id")
    private Long receiverId;

    @Column(name = "notice_url")
    private String noticeUrl;

    @Column(name = "read_flag")
    private Byte readFlag;

    @Column(name = "read_time")
    private Date readTime;

    /**
     * @return notice_id
     */
    public Long getNoticeId() {
        return noticeId;
    }

    /**
     * @param noticeId
     */
    public void setNoticeId(Long noticeId) {
        this.noticeId = noticeId;
    }

    /**
     * @return notice_type
     */
    public Byte getNoticeType() {
        return noticeType;
    }

    /**
     * @param noticeType
     */
    public void setNoticeType(Byte noticeType) {
        this.noticeType = noticeType;
    }

    /**
     * @return push_time
     */
    public Date getPushTime() {
        return pushTime;
    }

    /**
     * @param pushTime
     */
    public void setPushTime(Date pushTime) {
        this.pushTime = pushTime;
    }

    /**
     * @return notice_voice_type
     */
    public Byte getNoticeVoiceType() {
        return noticeVoiceType;
    }

    /**
     * @param noticeVoiceType
     */
    public void setNoticeVoiceType(Byte noticeVoiceType) {
        this.noticeVoiceType = noticeVoiceType;
    }

    /**
     * @return receiver_id
     */
    public Long getReceiverId() {
        return receiverId;
    }

    /**
     * @param receiverId
     */
    public void setReceiverId(Long receiverId) {
        this.receiverId = receiverId;
    }

    /**
     * @return notice_url
     */
    public String getNoticeUrl() {
        return noticeUrl;
    }

    /**
     * @param noticeUrl
     */
    public void setNoticeUrl(String noticeUrl) {
        this.noticeUrl = noticeUrl;
    }

    /**
     * @return read_flag
     */
    public Byte getReadFlag() {
        return readFlag;
    }

    /**
     * @param readFlag
     */
    public void setReadFlag(Byte readFlag) {
        this.readFlag = readFlag;
    }

    /**
     * @return read_time
     */
    public Date getReadTime() {
        return readTime;
    }

    /**
     * @param readTime
     */
    public void setReadTime(Date readTime) {
        this.readTime = readTime;
    }
}